$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$width: 82.292vw;

.header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 2vw;
  z-index: 10000;
  width: 90vw;
  transition: all 600ms;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 600ms;
  .l {
    display: flex;
    align-items: center;

    .logo {
      img {
        display: block;
        max-width: 322px;
      }
    }

    .t {
      font-size: 14px;
      margin: 18px 0 0 15px;
      color: #666;
    }
  }

  .r {
    display: flex;
    align-items: center;

    .icons {
      display: flex;

      a {
        margin: 0 10px;
      }
    }

    .btns {
      display: flex;
      margin: 0 3vw;

      a {
        background: #EBEBEB;
        display: inline-block;
        font-size: $fontSize_18;
        color: #333;
        padding: 10px 15px;
        transition: all 600ms;
        &:hover{
          background: #DA353B;
          color: #fff;
        }
      }

      a:last-child {
        background: #DA353B;
        color: #fff;
      }
    }

    .lan {
      a {
        color: #333;
        font-size: $fontSize_18;
      }
    }

    .pc_menu {
      margin-left: 3vw;
      cursor: pointer;

      span {
        display: block;
        height: 2px;
        width: 57px;
        position: relative;
        overflow: hidden;

        &::before {
          display: block;
          content: "";
          background: #333;
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: 0;
          transition: transform .6s;
          transition-delay: .1s;
        }

        &::after {
          display: block;
          content: "";
          background: #333;
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0;
          left: 0;
          transform: translateX(-100%) translateY(0) translateZ(0);
          transition: transform .6s;
        }
      }

      span:nth-child(2) {
        margin-top: 10px;
      }

      &:hover {
        span {
          &::before {
            transform: translateX(100%) translateY(0) translateZ(0);
            transition-delay: 0s;
          }

          &::after {
            transform: translateX(0) translateY(0) translateZ(0);
            transition-delay: .1s;
          }
        }

        span:nth-child(2) {
          &::before {
            transition-delay: .1s;
          }

          &::after {
            transition-delay: .2s;
          }
        }
      }
    }
  }
}
.hasBg{
  transform: translateX(-50%) translateY(-120px);
}
.pc_menuList {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 10000;
  background-color: #f4f3ef;
  display: none;
  .close {
    position: absolute;
    top: 0.5vw;
    right: 3.5vw;
    cursor: pointer;
    width: 6vw;
    height: 6vw;

    span {
      overflow: hidden;
      width: 50%;
      height: 2px;
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      transform: translateX(0) translateY(0) translateZ(0) rotate(30deg);

      &::before {
        display: block;
        content: "";
        background: #333;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: transform .6s;
        transition-delay: .1s;
      }

      &::after {
        display: block;
        content: "";
        background: #333;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(-100%) translateY(0) translateZ(0);
        transition: transform .6s;
      }
    }

    span:nth-child(2) {
      transform: rotate(-30deg);
    }

    &:hover {
      span {
        &::before {
          transform: translateX(100%) translateY(0) translateZ(0);
          transition-delay: 0s;
        }

        &::after {
          transform: translateX(0) translateY(0) translateZ(0);
          transition-delay: .1s;
        }
      }

      span:nth-child(2) {
        &::before {
          transition-delay: .1s;
        }

        &::after {
          transition-delay: .2s;
        }
      }
    }
  }

  .links {
    margin-left: 20vw;
    padding-top: 12vw;

    a {
      display: block;
      color: #333;
      font-size: 1.5vw;
      padding-bottom: 1.6vw;
      transition: all .3s;
      width: fit-content;
      span{
        display: block;
        transition: all 600ms;
      }
      &::after {
        content: '';
        display: block;
        height: 4px;
        width: 26px;
        border-radius: 10px;
        background: #DA353B;
        margin: 10px 0 0 5px;
        opacity: 0;
        transition: all 600ms;
      }

      &:hover {
        color: rgba(218, 53, 59, 1);
        span{
          transform: translateX(20px);
        }
        &::after{
          opacity: 1;
          transform: translateX(20px);
        }
      }
    }
    .active{
      color: rgba(218, 53, 59, 1);
      span{
        transform: translateX(20px);
      }
      &::after{
        opacity: 1;
        transform: translateX(20px);
      }
    }
  }
}

// .hasBg {
//   box-shadow: 0 0 10px rgba(0, 0, 0, .1);
// }


.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #fff;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        width: 200px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    a {
      color: #646464;
      margin-left: 10px;
    }
    a:last-child{
      margin-top: 2px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 40px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.foot {
  background: #FFF;
  width: 90vw;
  // margin: 0 auto;
  padding: 3vw 5vw;
.logo{
  img{
    max-width: 322px;
  }
}
  .dom1 {
    margin: 1.5vw 0 2vw 0;
    display: flex;
    justify-content: space-between;

    .l {
      width: 45%;

      .des {
        color: #666;
        font-size: $fontSize_16;
        line-height: 1.8;
        text-align: justify;
        font-weight: 400;
      }

      a {
        display: inline-block;
        border-radius:30px;
        border: 1px solid #DA353B;
        background: #DA353B;
        font-size: 0.8vw;
        color:white;
        line-height: 35px;
        padding: 0 25px;
        margin-top: 1.5vw;
      }
    }
    .r{
      width:45%;
      .links{
        display: flex;
        justify-content: space-between;
        align-items: center;
        a{
          color: #333;
          font-size: $fontSize_18;
          transition: all 600ms;
          &:hover{
            color:#DA353B;
          }
        }
      }
      .links2{
        width: 100%;
        display: flex;
        align-items: center;
        margin-top: 3vw;
        .pic{
          margin-right: 2vw;
          img{
            transition: all 600ms;
          }
          &:hover{
            img{
              transform: scale(1.05);
            }
          }
        }
      }
    }
  }
  .dom2{
    text-align: right;
    a{
      color: #666;
      font-size: 0.8vw;
    }
  }
}



@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }

  .foot{
    width: 90%;
    padding: 20px 5%;
    .logo{
      img{
        width: 220px;
      }
    }
    .dom1{
      flex-direction: column;
      .l{
        width: 100%;
        .des{
          font-size: 16px;
        }
        a{
          font-size: 16px;
        }
      }
      .r{
        width: 100%;
        margin-top: 15px;
        .links{
          a{
            font-size: 14px;
          }
        }
        .links2{
          flex-wrap: wrap;
          .pic{
            width: 50%;
            margin-right: 0;
            text-align: center;
            margin-top: 15px;
          }
        }
      }
    }
    .dom2{
      text-align: center;
      a{
        font-size: 12px;
      }
    }
  }
}